import { BasicColumn } from '/@/components/Table';
import { FormSchema } from '/@/components/Table';
import { rules } from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '名字',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '简称',
    align: "center",
    dataIndex: 'abbreviation'
  },
  {
    title: '系统',
    align: "center",
    dataIndex: 'channal'
  },
  {
    title: '业务员',
    align: "center",
    dataIndex: 'salesUser'
  },
  // {
  //   title: '业务员ID',
  //   align: "center",
  //   dataIndex: 'salesUserId'
  // },

  {
    title: '区域',
    align: "center",
    dataIndex: 'region'
  },
];

// 高级查询数据
export const superQuerySchema = {
  name: { title: '名字', order: 0, view: 'text', type: 'string', },
  salesUser: { title: '业务员', order: 1, view: 'text', type: 'string', },
  salesUserId: { title: '业务员ID', order: 2, view: 'text', type: 'string', },
  abbreviation: { title: '简称', order: 3, view: 'text', type: 'string', },
  region: { title: '大区', order: 4, view: 'text', type: 'string', },
};
